package com.dcy.znoa.service.software;

import com.dcy.znoa.common.exception.BusinessException;
import com.dcy.znoa.domain.OperSession;

public interface SessionService {
    OperSession touchSession(Long sid, String token) throws BusinessException;

    OperSession login(Long userId, String password,String pushId) throws BusinessException;

    OperSession login(String mobile, String password,String pushId) throws BusinessException;

    void logout(OperSession session) throws BusinessException;

}

